package com.bdqn.vueboot.service;

import com.bdqn.vueboot.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface UserService {

    public User findByUserNameBiz(String uname);

    public Page<User> findPageByMap(Map param, Pageable pageable);

    public void saveUser(User user) throws Exception;

    public void deleteByUserId(Long id) throws Exception;

    public User findByUserIdBiz(Long id) throws Exception;

}
